
<script type="text/javascript" src="zhtopinyin.js"></script>

<textarea id=kevin cols=100 rows=10>我要转成拼音</textarea><br>
<button onclick="test.innerHTML = toPinyin(kevin.innerText)">转换</button>
<button onclick="test.innerHTML = toPinyinOnly(kevin.innerText)">仅拼音</button>
<button onclick="test.innerHTML = kevin.innerText.split('').sort(pinyinSort).join('')">排序</button>
<div id=test style="font-size:16px;"></div>
